package com.everwin.web.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.everwin.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * car_info
 *
 * @author
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("courseEntity")
public class CarInfo extends BaseEntity implements Serializable {

    @ExcelIgnore
    private Integer id;

    /**
     * 车牌号
     */
    @Excel(name = "车号", isImportField = "true_st")
    private String plateNum;

    /**
     * vin码
     */
    @Excel(name = "vin码", isImportField = "true_st")
    private String vinCode;

    /**
     * 省
     */
    @Excel(name = "省", isImportField = "true_st")
    private String province;

    /**
     * 市
     */
    @Excel(name = "市", isImportField = "true_st")
    private String city;

    /**
     * 车主姓名
     */
    @Excel(name = "车主姓名", isImportField = "true_st")
    private String ownerName;

    /**
     * 是否抵押:
     * 1.是
     * 0.否
     */
    @Excel(name = "0 未抵押 1 抵押", isImportField = "true_st")
    private Integer mortgageStatus;

    /**
     * 原来抵押人
     */
    @Excel(name = "原来抵押人", isImportField = "true_st")
    private String originalMortgagor;

    /**
     * 真实抵押人
     */
    @Excel(name = "真实抵押人", isImportField = "true_st")
    private String realMortgagor;

    /**
     * 抵押时间
     */
    @Excel(name = "抵押时间", isImportField = "true_st")
    private Date createTime;

    /**
     * 操作人
     */
    @Excel(name = "操作人", isImportField = "true_st")
    private String createUser;

    /**
     * 操作人id
     */
    @ExcelIgnore
    private Integer createUserId;

    /**
     * 备注1
     */
    @Excel(name = "备注1", isImportField = "true_st")
    private String remark1;

    /**
     * 备注2
     */
    @Excel(name = "备注2", isImportField = "true_st")
    private String remark2;

    /**
     * 备注3
     */
    @Excel(name = "备注3", isImportField = "true_st")
    private String remark3;

    /**
     * 备注4
     */
    @Excel(name = "备注4", isImportField = "true_st")
    private String remark4;

    private static final long serialVersionUID = 1L;
}
